package cn.asterly.cicada.web.controller;

import cn.asterly.cicada.common.model.DataTablesResult;
import cn.asterly.cicada.common.model.Result;

public interface BaseController<T> {

    public Result<T> addition(T t);
    public Result<T> editInfo(T t);
    public Result delById(String id);
    public Result selById(String id);
    public DataTablesResult selByAll();

}
